package com.copro.chemdb.stat.rule.export;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.ihelpuoo.util.Properties;

import com.copro.chemdb.stat.ExportRule;
import com.copro.chemdb.stat.StatResult;
import com.copro.chemdb.subject.Subject;
import com.copro.simple.Application;
import com.copro.simple.SimpleException;

public class DefaultStatRule implements ExportRule {

	@Override
	public void doExport(HSSFWorkbook wb, Subject subject, StatResult re,
			short customStyle, Application app) throws SimpleException {
		throw new SimpleException("You can not export subject ["
				+ subject.getCode() + "],it use the default rule!");
	}

	@Override
	public void setup(Properties conf) {
	}

}
